package com.xiong.thread;

import org.junit.Test;

public class TestDemo {

    @Test
    public void test(){
        ThreadEngine.executeThread(()->{
            try {
                Thread.sleep(1000);
                System.out.println("哈哈");
            }catch (Exception e){
                e.printStackTrace();
            }
        });
        ThreadEngine.executeThread(()->{
            System.out.println("执行到我了");
        });
    }
}
